home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / utils / view113a.zip / VIEW113A.DOC < prev    next >
Text File  |  1996-05-05  |  45KB  |  1,038 lines

  1.  
  2.                             VIEW - the file viewer
  3.  
  4.                                 Version 11.3a
  5.  
  6.                           ==============================
  7.  
  8.  
  9.      Note: this package contains the following files:
  10.  
  11.                      VIEW.EXE     - file viewer version 11.3a
  12.                      VIEWCFG.COM  - customizer
  13.                      HPSET.COM    - utility for setting printer functions
  14.                      VIEW113A.DOC - this file
  15.                      NEW113A.DOC  - history and new features
  16.                      TROUBLE.DOC  - possible problems, and solutions
  17.                      HOWDOI.DOC   - tips for using VIEW
  18.                      ORDER.FRM    - convenient order form
  19.                      WINDOWS.95   - note on using VIEW under Windows 95
  20.                      (zipped with PKZIP 2.04g)
  21.  
  22.  
  23. NOTE: If you are using VIEW to read this file, you can go to any section by
  24. pressing the down arrow until the topic in the following list of contents
  25. is at the top of the display, then pressing Enter.  Pressing Enter again
  26. brings you back to the list of contents.
  27.  
  28.  
  29. CONTENTS
  30. ========
  31.  
  32. WHAT IS VIEW?
  33. THE FINE PRINT
  34. SHAREWARE - THE CONCEPT
  35. THE SUGGESTED CONTRIBUTION
  36.  - Pay only once!
  37.  - Multiple copies
  38. TECHNICAL SUPPORT
  39. OVERVIEW
  40.  - Command line switches
  41.  - Text search
  42.  - Wild cards
  43.  - Examples
  44. BOOKMARKS
  45. THE VIEW SCREEN
  46. THE ESC KEY
  47. PRINT FUNCTIONS
  48. RESETTING THE PRINTER
  49. IMPORTANT NOTE
  50. AUTOMATIC DETECTION OF FILE FORMATS
  51. THE FILE SELECTION MENU
  52. CUSTOMIZING VIEW
  53. HTML FILES
  54. 2COL
  55. JETCOL
  56. COMPUSERVE ADDRESS
  57. INTERNET ADDRESS
  58. MORE SHAREWARE
  59.  
  60.                       *************************************
  61.  
  62.  
  63. WHAT IS VIEW? ▌
  64. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  65.  
  66.  
  67. VIEW is a file viewing utility for DOS.
  68.  
  69. ■ It allows you to view and print files in the following formats:
  70.  
  71.    -  Wordperfect versions 5.0 to 6.1
  72.    -  Word for Windows versions 1.0 to 6.0
  73.    -  Word for DOS
  74.    -  Ami Pro
  75.    -  Wordstar
  76.    -  Windows Write files
  77.    -  Windows Notepad files (which use the ANSI character set)
  78.    -  Windows CLP (clipboard) text files
  79.    -  ASCII files
  80.    -  ANSI files (e.g. created under UNIX)
  81.    -  World Wide Web HTML tagged files
  82.    -  Compuserve mail and messages
  83.  
  84. ■ You can see a quick preview of the first part of files.
  85.  
  86. ■ You can print or save all or part of the files viewed.
  87.  
  88. ■ You can print or save to file only those lines containing or omitting
  89.   specified text.
  90.  
  91. ■ Printing can be done directly via the compressed print routines 2COL and
  92.   JETCOL (if you have them).  These shareware programs by Tony Caine are
  93.   provided to those who register VIEW.  They allow you to print in multiple
  94.   columns using small but highly legible fonts. Highly recommended!
  95.  
  96. ■ Windows help files can be viewed via a link to an external program HLP2DOC
  97.   (which is a freeware utility available on many BBS and provided to those
  98.   who register VIEW).
  99.  
  100. ■ VIEW allows you to search for text strings (both case-sensitive and
  101.   case-insensitive), including across multiple files.
  102.  
  103. ■ You can also print or convert files to ASCII, including in format
  104.   suitable for import to word processor, directly from the file
  105.   selection menu.
  106.  
  107. ■ You can convert between ASCII and ANSI.
  108.  
  109. ■ You can save files in a format suitable for importing into word
  110.   processors without a hard return at the end of every line.
  111.  
  112. ■ You can convert or print file directly without viewing, using command
  113.   line switches.
  114.  
  115. ■ You can convert files to or from UNIX and DOS file formats.
  116.  
  117. ■ Together, VIEW and 2COL/JETCOL offer a powerful file printing utility
  118.   that can be run under a wide variety of DOS and Windows shells and file
  119.   managers.
  120.  
  121. ■ VIEW can be identified as the file viewer for a wide range of DOS and
  122.   Windows shells and file managers, including archive display programs.
  123.  
  124. ■ VIEW is ideal as a viewer for e-mail attachments.
  125.  
  126. ■ VIEW can be customized for display color, and also its printing,
  127.   display and memory features.
  128.  
  129.  
  130. Note: as shipped VIEW is configured NOT to use the Windows help file
  131. translator HLP2DOC.  You must have this utility in a directory that is
  132. referred to in your PATH statement.  The link to HLP2DOC can be enabled by
  133. using the configuration program VIEWCFG.
  134.  
  135.  
  136. THE FINE PRINT  ▌
  137. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  138.  
  139.  
  140. The author makes no warranty that the software in this package will work
  141. with your particular hardware configuration.  You use the programs entirely
  142. at your own risk, and the author will not be held liable for any damage
  143. caused to your hardware or software through their use, nor for any
  144. consequential damages, loss of earnings, or loss of life, limb, health,
  145. sanity or personal relationship.  Legalities aside, you should not run into
  146. difficulties with this software.
  147.  
  148.  
  149.  
  150. SHAREWARE - THE CONCEPT ▌
  151. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  152.  
  153.  
  154. These programs are distributed as shareware, AND ARE NOT CRIPPLED!!.  Nor
  155. do they contain "nag" screens.  (Editorial note: I don't support
  156. "crippleware" - I want to know EXACTLY what I'm expected to pay for!
  157. Crippleware is, in my opinion, like test driving a Mercedes that's been
  158. fitted with a lawnmower engine! There, that's said - but each to his own.)
  159.  
  160. You do not have to register as a user, nor are you under any
  161. obligation to buy the program(s).  However, they are not free, and in
  162. the spirit of shareware, you are requested to make a small
  163. donation to the author if you find the software in this package useful,
  164. and if you continue to use it after an evaluation period of 30 days. This
  165. would both fulfill your moral obligation and help ensure the viability of
  166. the shareware concept, from which we all benefit.
  167.  
  168.  
  169. THE SUGGESTED CONTRIBUTION ▌
  170. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  171.  
  172. The suggested contribution is $25 US ($30 Canadian, 12 pounds sterling),
  173. but less (or more!) would be fine.  Pay what you think the software is
  174. worth to you.  If you pay the recommended amount or more, I will send you a
  175. diskette with the latest version plus a selection of other shareware for
  176. you to evaluate, including Tony Caine's excellent 2COL and JETCOL utilities
  177. and some useful freeware programs.
  178.  
  179. Should you decide to make a contribution, please remit to:
  180.  
  181.                    Malcolm Drury
  182.                    11 Adele Crescent
  183.                    Nepean
  184.                    ON  K2J 2T7
  185.                    Canada
  186.  
  187. INTERNET ADDRESS    drury@gsc.emr.ca
  188. COMPUSERVE ADDRESS  70574,3457
  189.  
  190. Bank notes in your local currency would be fine, as would international
  191. money orders made out in US or Canadian dollars.  Thank you.  Please tell me
  192. where you got the software from and, most importantly, which version it is.
  193.  
  194.  
  195. Note to Compuserve members: you can register online.  GO SWREG and look for
  196. VWFILE.ZIP
  197.  
  198.  - Pay only once!
  199.    ==============
  200.  
  201. IF YOU HAVE PREVIOUSLY PAID FOR AN EARLIER VERSION - THANKS, AND OF COURSE
  202. YOU ARE NOT EXPECTED TO PAY AGAIN.  YOUR INPUT, COMMENTS ETC.  ARE ALWAYS
  203. WELCOME.
  204.  
  205.  
  206.  - Multiple copies
  207.    ===============
  208.  
  209. Please contact me if you would like to negotiate a price for multiple
  210. copies. I accept purchase orders, but cannot accept credit card orders.
  211.  
  212.  
  213. TECHNICAL SUPPORT ▌
  214. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  215.  
  216. Please note that at the low contribution requested, I cannot provide DIRECT
  217. technical support, nor automatically send upgrades, should they
  218. become available. If you have comments, questions, bug reports etc., please
  219. leave a message at my Compuserve or INTERNET address, or write to me via
  220. snail mail.  I will endeavor to fix any problems you might encounter.
  221. Users who have paid may, of course, download future upgrades free of charge.
  222. I will never post a deliberately crippled version of VIEW, nor a version
  223. that has any kind of "nag" message.  I also guarantee to honor the
  224. suggested contribution for the version of VIEW you are registering in the
  225. event that the contribution requested has increased for the current
  226. version; you will also receive the current version.  I hope my pricing
  227. policy will compensate for the lack of direct technical support and mailing
  228. of upgrades.
  229.  
  230. The software is supplied on an "as is" basis. You are free to distribute
  231. this software package provided that you distribute the ENTIRE package,
  232. including this documentation file. (This is necessary for others to be able
  233. to use it properly.  I've downloaded too many shareware packages that had
  234. been posted without accompanying documentation!).
  235.  
  236. I hope you find this package useful.
  237.  
  238.  
  239. Now to the fun stuff!
  240.  
  241.             ******************************************************
  242.  
  243.  
  244. OVERVIEW ▌
  245. ▄▄▄▄▄▄▄▄▄▌
  246.  
  247.  
  248. Usage:
  249.  
  250. view [d:][path][filename] [/sw1] [/sw2] [/sw3] [/sw4]  [text string to find]
  251.  
  252.  
  253. where switches /sw1, /sw2, /sw3 and /sw4 can be:
  254.  
  255.           /a
  256.           /b
  257.           /cfilename.cnv
  258.           /Cfilename.cnv
  259.           /fxx
  260.           /h
  261.           /lnnn
  262.           /mnnn
  263.           /mono
  264.           /q
  265.           /s
  266.           /u
  267.           /w
  268.           /6
  269.      (in which nnn is a three digit number and xx is a two-digit number)
  270.  
  271. /a             - assume the file uses the ANSI (Windows) or UNIX character sets and
  272.                  convert high-order characters (e.g.  Ç,é,Ü) to the ASCII
  273.                  set used by DOS
  274. /b             - allows you to break out of the file read even if you have
  275.                  configured VIEW to disable this function normally.
  276. /cfilename.cnv - convert selected file to filename.cnv directly, i.e.
  277.                  without viewing it. NOTE:  NOT APPLICABLE FOR WORD 6 FILES.
  278. /Cfilename.cnv - as for /c but file is saved in format suitable for import
  279.                  into word processor (i.e. with hard returns within text
  280.                  suppressed) NOTE:  NOT APPLICABLE FOR WORD 6 FILES.
  281. /fxx           - allow the file list to display xx 100s of files.
  282. /h             - force HTML files to be displayed as ASCII, thus showing their HTML
  283.                  tags.
  284. /s             - forces VIEW to look for case-sensitive string when a text
  285.                  string is entered on the command line.  Without the switch
  286.                  the search is case-insensitive - i.e., if VIEW is told to
  287.                  find string from the command line, it will look for
  288.                  string String STrinG etc.  With ths switch used, it will
  289.                  only look for  string
  290. /lnnn          - set line wrap to nnn columns
  291. /mnnn          - set aside nnn memory allocation units (see below)
  292. /mono          - force VIEW to display in monochrome
  293. /q             - preview mode; show only the first screen's worth of a file
  294. /u             - convert the file to the UNIX format (using the UNIX character
  295.                  and saving the converted file with only line feeds rather
  296.                  than the combination carriage return/line feed used by DOS
  297. /w             - convert the file's character set to Windows (ANSI) and save
  298.                  the converted file in the DOS format (i.e. combination
  299.                  carriage return/line feed)
  300. /6             - tells VIEW to try a different approach to decoding Word 6
  301.                  files that appear not to be decoded correctly.
  302.  
  303.  
  304. NOTE 1:  the /u, /a and /w switches are only meaningful when used with the
  305. /c or /C switches, i.e. for converting files directly.
  306.  
  307. NOTE 2: the order of the switches is unimportant.
  308.  
  309. NOTE 3: if you use any of the switches, you MUST include at least a drive
  310.         letter on the command line.  If not VIEW will tell you something
  311.         like "can't find /m056".
  312.  
  313. NOTE 4:  if you are using VIEW from a batch file, such as for converting
  314.          files directly, you can use the ERRORLEVEL function.  VIEW returns
  315.          error level 1 if for some reason the file cannot be viewed or
  316.          converted (e.g. file does not exist, unrecognized format).
  317.  
  318.  
  319. If you just type VIEW you will get a list of files on the current drive and
  320. directory, from which you can select the one to view. Similarly, if you
  321. type VIEW plus drive and directory parameters, you'll get a list of files
  322. on that drive and directory.  From the file selection menu, you can
  323. change to any directory on the drive, or to any other drive.  Note that
  324. VIEW supports the * wild card character.
  325.  
  326.  
  327.  - More information on command line switches
  328.  ===========================================
  329.  
  330.   /q
  331.   ==
  332.  
  333. Use this switch for displaying only the first screen's worth of of a file
  334. (usually the first 23 lines) in a quick preview mode.  This function can be
  335. toggled on and off from the file selection menu by pressing the q key.
  336.  
  337.   /mnnn
  338.   =====
  339.  
  340. If you include the switch /mnnn you will be able to allocate more memory for
  341. use by JETCOL, 2COL or HLP2DOC (see below).  The more memory you allocate
  342. for these programs the less is available to VIEW for loading files.  If you
  343. only use JETCOL, 2COL or HLP2DOC occasionally you should leave the memory
  344. allocation at the default level and use the /mnnn switch when you do want
  345. to use them.  If you use them frequently, you should probably permanently
  346. allocate sufficient memory using the configuration program VIEWCFG.COM.
  347. See later in this information file for more information on running JETCOL
  348. and 2COL.
  349.  
  350.   /lnnn
  351.   =====
  352.  
  353. If you use the /lnnn switch the line wrap is set at a maximum of 132
  354. columns and a minimum of 20.  The number of columns you want is determine
  355. by "nnn" which MUST be a three digit number (e.g.  070, 120).  In this mode
  356. you can use the left and right arrow keys to scroll the display to the left
  357. and right.  This mode is useful if you want to print files for which the
  358. line wrap is greater than 80 - for instance, program listings.  Note that
  359. VIEW will also run in true 132 mode (i.e. 132 columns actually displayed
  360. on screen if you have a video adapter that allows that mode).
  361.  
  362. (NOTE: when you use the /lnnn switch, the help line at the bottom
  363. of the screen will refer to "Cursor arrows".  When it is not used the
  364. left and right arrow function are disabled and the help line refers to "Up
  365. and down arrows").
  366.  
  367.   /c
  368.   ==
  369.  
  370. To convert a file directly, use the /c switch - that is, /c
  371. followed immediately by the name of the CONVERTED file.  For example, to
  372. write a converted file called myfile.cnv the format of the switch would be
  373. /cmyfile.cnv The name of the converted file can include a full path (drive
  374. and directory plus sub-directory) if you wish, or it could be an alternate
  375. printer port.  TO PRINT A FILE DIRECTLY use /clpt1 (or /clpt2 etc)
  376.  
  377.   /C
  378.   ==
  379.  
  380. This is the same as the /c switch EXCEPT that the converted file is written
  381. in a format suitable for import into a word processor.  Hard returns within
  382. paragraphs are suppressed so that in your word processor you can change the
  383. word wrap parameter.  VIEW attempts to retain legitimate hard returns.  No
  384. other formatting is saved.
  385.  
  386.  /a
  387.  =====
  388.  
  389. This switch causes VIEW to convert high-order characters in a file that
  390. uses the ANSI character set (e.g.  Windows Notepad) to ASCII.  Used only
  391. with /c or /C
  392.  
  393.  /u
  394.  =====
  395.  
  396. This switch causes VIEW to convert high-order characters in a file that
  397. uses the ASCII character set to the UNIX character set.  Used only
  398. with /c or /C. The saved file is in the UNIX file format.
  399.  
  400.  /w
  401.  =====
  402.  
  403. This switch causes VIEW to convert high-order characters in a file that
  404. uses the ASCII character set to the Windows character set.  Used only
  405. with /c or /C. The saved file is in the DOS file format (used by Windows).
  406.  
  407.  
  408.  /fxx
  409.  ====
  410.  
  411.  Enable xx 100s of files to be listed in the file list.   For example,
  412.  /f06 enables a display of 600 files.  The default is 500 files.  The
  413.  maximum is 1000 (although you can  request a special version with up to
  414.  3000 when you register VIEW).  The more files you enable the less memory
  415.  is available for actually viewing files, although the loss by going from
  416.  the default of 500 to, say, 800, is not great.
  417.  
  418.  
  419.  - Text search
  420.   ============
  421.  
  422. The text string to find MUST come after the filename, and after any
  423. switches used.  It allows you to search for the string in all files
  424. viewer until the "text search" function is switched off (see later).  Text
  425. entered from the command line is assumed to be case-insensitive.
  426.  
  427.  - Wild cards
  428.    ==========
  429.  
  430. You can use the * wild-card character in a file name. Then you will get a
  431. list of files in the default or specified directory that match the
  432. * criteria.  Any string identified on the command line for the text
  433. search function will be active for all files specified by the wild
  434. card option (unless it is changed or switched off when viewing one
  435. of the files).
  436.  
  437.  
  438.  - Examples
  439.    ========
  440.  
  441.       view *.doc   -  list of files with extension doc in the current
  442.                       directory
  443.  
  444.       view d:\docs -  list of all files on drive d, directory docs
  445.  
  446.       view d:\docs\*.txt  -  as above, but only files with extension txt
  447.  
  448.       view myfile.doc this is a string  - open myfile doc and search for
  449.                                           "this is my string"
  450.  
  451.  
  452.       view myfile.doc /m060 - open file myfile.doc after allocating 60
  453.                               block of memory for use by JETCOL, 2COL or
  454.                               HLP2DOC
  455.  
  456.       view d: /m050 - list all files on root directory of drive d: after
  457.                       allocating extra memory.
  458.  
  459.       view *.txt /l132 - list all matching files and display them in
  460.                          emulated 132 column mode.
  461.  
  462.  
  463.       view myfile.doc /l120 /clpt1 - print the file myfile.doc directly,
  464.                                      using 120 column word wrap.
  465.  
  466.  
  467.       view another.doc /cnew.doc - convert "another.doc" and save
  468.                                    converted file as "new.doc"
  469.  
  470.  
  471.       view this.doc /u /Csaved.doc - convert "this.doc" to file "saved.doc"
  472.                                      which is saved in the UNIX format and
  473.                                      with the UNIX character set.
  474.  
  475.       view d:\docs\*.doc another string - list all matching files, and as
  476.                                           each is opened look for "another
  477.                                           string".  This search is in
  478.                                           effect for all subsequent files
  479.                                           until it is switched off.
  480.  
  481.       view d:\docs\*.doc /l120 yet another string - display all matching
  482.                                                     files in emulated 120
  483.                                                     column mode, and look
  484.                                                     for the string "yet
  485.                                                     another string".
  486.  
  487. Note on text search: VIEW will only find matches in complete lines, i.e.
  488. it will not find text that has wrapped.  For example, if the text to find
  489. is "cat sat on the mat" it would find the following:
  490.  
  491. One fine day the cat sat on the mat and ate a rat.
  492.  
  493. but not:
  494.  
  495. One fine day, the cat sat on
  496. the mat and ate a rat.
  497.  
  498. Note that VIEW reads as much of a file as possible into memory, but if
  499. not all of a file can be read in it won't display the full file. This
  500. allows you to skip instantly to any part of the file in memory without
  501. disk reads. If you are not using DOS 5.0 or later, or a memory manager
  502. such as QEMM386 or 386MAX, I strongly recommend you do so. If a file is
  503. too big, an overflow file is created; you can switch quickly between the
  504. two. The overflow should, in most circumstances, allow you to see all of
  505. the original file, unless it is really big. If the file IS really big,
  506. you can convert it to ASCII (from the file selection menu) and then split it
  507. into smaller components using a text editor.  When you convert to ASCII
  508. from the file selection menu the entire file is converted even if it is too
  509. big to view via VIEW.
  510.  
  511. VIEW will automatically detect WordPerfect 5.0 and later, Microsoft Word,
  512. Ami Pro and Windows WRITE formats. It attempts to detect other files that
  513. may not be ASCII and gives you the opportunity to display them as straight
  514. ASCII, as Wordstar - i.e. with the high-order characters stripped
  515. out, or in preview mode, or in preview mode.  It will automatically force
  516. to ASCII certain standard types of non-ASCII file (e.g. EXE, COM, DLL etc.).
  517.  
  518. Using VIEW is pretty straightforward. Pressing F1 brings up a help menu,
  519. and the key features of the menu are permanently displayed on the bottom
  520. line.
  521.  
  522. Every feature is accessible directly from the view screen, or from the menu
  523. screen.
  524.  
  525.  
  526. BOOKMARKS  ▌
  527. ▄▄▄▄▄▄▄▄▄▄▄▌
  528.  
  529.  
  530. VIEW allows you to place up to 200 bookmarks in the text you are viewing.
  531. This allows you to move quickly to preset places in the text that you have
  532. chosen.  In addition, when reading in an ASCII file, VIEW assigns a
  533. bookmark to any form feed character it finds.  The form feeds are not
  534. actually displayed, but by setting a bookmark you can move quickly to any
  535. place in the text where they occur.  See the following section for a
  536. description of the keys assigned to bookmark functions (they are: Ins, the
  537. grey + key, the grey - key, Shift-F5, and Shift-F8).
  538.  
  539.  
  540.  
  541. THE VIEW SCREEN  ▌
  542. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  543.  
  544.  
  545. The keys:
  546.  
  547. Navigate through the file using the cursor keys (up and down arrows, left
  548. and right arrows if in "wide screen" mode, PgUp, PgDn, Home, End).
  549.  
  550. Ins         - insert a bookmark at the text currently displayed at the top of
  551.               the display.
  552.  
  553. Grey + key  -  go to the next bookmark.  If you are at the last one, this
  554.                key moves to the first one (that is, cycles through the
  555.                bookmarks).  First, though, it repeats the bookmark you are
  556.                currently at in order to indicate that you are at the last
  557.                one.
  558.  
  559. Grey - key  -  go to the previous bookmark.  If you are at the first one, this
  560.                key moves to the last one (that is, cycles through the
  561.                bookmarks). First, though, it repeats the bookmark you are
  562.                currently at in order to indicate that you are at the first
  563.                one.
  564.  
  565. Enter       - find text currently displayed at the top of the display area.
  566.               Use this function for going directly to topics listed in the
  567.               contents.  NOTE: The Enter key is a toggle.  Press it a
  568.               second time to return to the point at which it was first
  569.               pressed.
  570.  
  571. s, Alt-F9   - toggle speaker "beep" on/off (beeps when an illegal key press
  572.               is made).
  573.  
  574. w, Alt-F10  - toggle word wrap on/off (plain text files only).
  575.  
  576. F1          -  help menu; all menu items are available directly from this menu
  577.                (i.e., while the menu is displayed, pressing F2 will activate
  578.                the appropriate function for that key).
  579. F2       -  case-INSENSITIVE text search - matching text is shown in the
  580.             highlight color. Unless the string to find has been defined from
  581.             the command line, the first time you press F2 the string is
  582.             defined. Subsequent presses of F2 find the next occurrence.
  583. F3       -  as for F2, but for case-SENSITIVE text.
  584. F4       -  toggle text search OFF.
  585.  
  586. (NOTE: when the text search function is enabled an asterisk (*) appears at
  587.  the bottom right corner of the screen.)
  588.  
  589. F5       -  go to a particular line number
  590. Shift F5 -  go to a particular bookmark number
  591. F6       -  print all of file to printer or disk
  592. Shift F6 -  set or reset HP and HP compatible printers that use the PCL4
  593.             command set (portrait or landscape mode, normal or compressed
  594.             print). This includes a user-definable command.
  595. F7       -  print all lines that specifically include or exclude a
  596.             particular text string
  597. F8       -  print file currently being viewed directly via 2COL or JETCOL.
  598.             NOTE:  you must have either configured VIEW to reserve at least
  599.             55 memory blocks, or you must use the switch /m055 on the
  600.             command line, to activate this feature.
  601. Shift F8 -  clear all bookmarks
  602. F9       -  this is a toggle for printing (to printer or disk) a block of
  603.             text. The first time you press F9, the current top line
  604.             is set as the beginning of the block.  The second time, the
  605.             current top line is set as the end of the block, and the block
  606.             is printed to the location you specify.  While block select is
  607.             on, you will see a message at the bottom-left of the screen
  608.             telling you the starting line of the block.
  609. F10      -  changes the character set of the file being displayed from ANSI to
  610.             ASCII.  If you print to file after this conversion is made, the
  611.             file you print will use the converted (i.e. ASCII) character
  612.             set.  This feature is useful for converting Windows NOTEPAD
  613.             files and others created with the ANSI set (e.g.  text files
  614.             created under UNIX).
  615.  
  616. Shift F10- changed the character set of the file being displayed from
  617.            ASCII to ANSI.  As with F10, files printed to disk will contain
  618.            the ANSI character set.
  619.  
  620. Space bar- leave menu without enabling any of the features.
  621.  
  622. If you have read in a large file that has resulted in a temporary overflow
  623. file being created, the following keys are also activated:
  624.  
  625. n         - move to overflow file  ("n" means "next")
  626. p         - move to original file  ("p" means "previous")
  627.  
  628. If you hear a "beep" the function is not currently activated (e.g. already
  629. in that file, or you have blocked off text but not yet printed it).
  630.  
  631. When in "overflow" mode an identifying letter appears at the bottom-left
  632. of the display. "p" means you are in the second level, i.e. overflow
  633. file, and "n" means you are in the top level, i.e. original file.
  634. Note that in the second level, you will be told that the file is ASCII, and
  635. called overflow.1. Not to worry: it still contains the overflow from
  636. the file you called to read.  Pressing the letter takes you to the
  637. <p>revious or <n>ext part of the file.
  638.  
  639.  
  640. THE ESC KEY ▌
  641. ▄▄▄▄▄▄▄▄▄▄▄▄▌
  642.  
  643. You can use the Esc key while a file is being converted directly from the
  644. file selection menu or is being printed interrupt the process and exit to DOS.
  645. This does not affect a file being loaded normally.
  646.  
  647.  
  648. PRINT FUNCTIONS  ▌
  649. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  650.  
  651. Note: for the print functions, you have the following choices:
  652.  
  653.  - print to printer
  654.  - save to file (and you can also use this for printing to an alternate
  655.    printer port - just use the port name as the name of the file to be
  656.    saved)
  657.  - print directly via 2COL or JETCOL
  658.  - save file in format suitable for importing into word processor (as far
  659.    as possible VIEW puts hard returns where they are needed and omits
  660.    them where they are not).
  661.  
  662.  
  663.  
  664. F6 - F9    allow you to print to file, to printer, or via 2COL/JETCOL. The
  665.            latter function produces a file called cainelnk.fil, which is
  666.            deleted when processing has finished.  If you have not set aside
  667.            memory for 2COL/JETCOL (see configuration, VIEWCFG) you can
  668.            simply write a file (converted to ASCII) to disk and process it
  669.            separately with 2COL or JETCOL.  Alternatively, you can load
  670.            VIEW with the /mnnn command to allow to to allocate (temporarily)
  671.            enough memory to run 2COL or JETCOL.
  672.  
  673. F6         print or convert file. You can include line numbers if you wish.
  674.            You can interrupt this process by pressing the Esc key.
  675.  
  676. F7         print only those lines containing or omitting a text string you
  677.            define.
  678.  
  679. F8         Allows you to access JETCOL or 2COL directly (assuming you have
  680.            them of course!) to print the entire file.
  681.  
  682.            Pressing F8 allows you to enter a command line for JETCOL or 2COL,
  683.            thereby allowing you to set switches individually.  You should
  684.            NOT enter a file name - VIEW does this for you, as it uses a
  685.            special ASCII file. The true file name will be added to the end
  686.            of the printout.  If JETCOL or 2COL do not exist in a directory
  687.            that your PATH statement specifies, you must include the full
  688.            path in your command line.
  689.  
  690.            Example:   c:\jetcol\jetcol -W70     - prints the file using
  691.            JETCOL, which is in directory c:\jetcol; the single W switch
  692.            is activated.
  693.  
  694.            If when you try to print via JETCOL or 2COL nothing happens
  695.            except that the display returns immediately to VIEW, one of
  696.            two things is the probable culprit. Either JETCOL/2COL has not
  697.            been found, or you have not set aside enough memory for
  698.            VIEW to link to JETCOL/2COL.  For the former, check that
  699.            you entered the path properly.  For the latter, reconfigure
  700.            VIEW using VIEWCFG.COM and set aside 50 or so "memory
  701.            blocks" (the configuration program will tell you when to do
  702.            this), or load VIEW with the /mnnn command.
  703.  
  704.  
  705. F9         This key is a toggle to allow you to select a block of text for
  706.            printing.  The first time you press it the block starts at the
  707.            line currently at the top of the display; the second time the
  708.            line at the top is the end of the block.  Once selected, the
  709.            block can be printed as for the F6 key.
  710.  
  711.  
  712. RESETTING THE PRINTER ▌
  713. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  714.  
  715. (For HP compatible printers and those that use commands beginning with the
  716. Esc character)
  717.  
  718. In VIEW 10.0 the "reset printer" function has been moved to a separate
  719. file, HPSET.COM This can be called as before by pressing Shift-F6.  It can
  720. also be used as a standalone. Usage is:
  721.  
  722. hpset      - reset printer on default port (lpt1)
  723. hpset port - reset printer on port "port"
  724.  
  725. Note:  if you wish to use this function from within VIEW you must set aside
  726. enough memory allocation units - it needs at least 35.  This can be done
  727. permanently through VIEWCFG.COM, the customization program, or temporarily
  728. by using the /m035 switch.
  729.  
  730.  
  731. IMPORTANT NOTE   ▌
  732. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  733.  
  734.  
  735. If you are viewing anything other than a straight ASCII or ANSI file, it
  736. will not look the same as the version that you print from the word processing
  737. software. If the document uses a proportional font, or contains columns
  738. or tables, the appearance under VIEW will in all probability be different.
  739. This is because of the way VIEW simplifies the formatting built into such
  740. documents. If VIEW were to be designed to show all formatting faithfully,
  741. it would be at least as big as the executable files used by the word
  742. processors themselves and would therefore lose its point as a quick viewer.
  743.  
  744. I have attempted to cover all formatting and embedded code possibilities,
  745. but with the power of WordPerfect, Word and Ami Pro, the possibilities
  746. are mind-boggling!  If you come across a file that does not seem to
  747. display properly - e.g. hangs mid-way through or displays garbage -
  748. please send it to me and I will attempt to fix the problem.  NOTE:  VIEW
  749. will NOT properly display Word 6 files saved with the "quick format"
  750. feature.  Such files are extremely complex and I have so far been unable to
  751. develop an algorithm to handle them.
  752.  
  753. Note that Wordstar files may contain some extraneous characters,
  754. including "dot commands" such as .PA - however, they should
  755. certainly be readable.
  756.  
  757.  
  758.  
  759. AUTOMATIC DETECTION OF FILE FORMATS ▌
  760. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  761.  
  762. VIEW will automatically detect Word, Ami Pro, Windows Write, WordPerfect,
  763. Windows clipboard (CLP), Windows help files and ASCII files.  For others,
  764. it may tell you that the format is unknown, and give you some options:
  765.  
  766.  ┌──────────────────────────────────────────────────────────────────────────┐
  767.  │       Undetermined file format - please select display option:           │
  768.  │           F1 show as ASCII   F2 - preview   F3  don't view               │
  769.  └──────────────────────────────────────────────────────────────────────────┘
  770.  
  771. F1 - means show the file as if it were a true ASCII file.  VIEW will
  772.      automatically assign certain types of file (e.g.  EXE, COM, BIN,
  773.      DLL) to this display mode.
  774.  
  775. F2 - means show the    file with high-order characters omitted.  Useful for
  776.      scanning for text strings and previewing files of unknown format.
  777.  
  778. F3 - means don't try to show the file.
  779.  
  780. If you choose F1, you will be asked which line wrap you want - that
  781. coded directly into the file, or the VIEW default.  You should choose
  782. the former first, as it will be appropriate for files with fewer than 80
  783. characters per line.  If the file has more than 80 characters per line,
  784. however, this display will cause lines to break within words.  In that
  785. case, try choosing VIEW's defaults. Just go with whichever suits you!
  786.  
  787.  
  788.  
  789. THE FILE SELECTION MENU ▌
  790. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  791.  
  792.  
  793. If you have called VIEW without specifying a particular file, you have
  794. access to the file selection menu, which looks like this:-
  795.  
  796.  
  797.                     C:\VIEW\*.*  -  9 item(s)  (0 read)
  798.     Keys:   Ctrl-Home Ctrl-End PgDn PgUp Home Enter Esc - exit  F1 - help
  799.      ASCII line wrap OFF
  800.    ┌───────────────────────────────────────────────────────────────────────┐
  801.    │ ..                                                                    │
  802.    │ file_id.diz                                                           │
  803.    │ new113a.doc                                                           │
  804.    │ trouble.doc                                                           │
  805.    │ view.exe                                                              │
  806.    │ view113a.doc                                                          │
  807.    │ viewcfg.com                                                           │
  808.    |                                                                       |
  809.    │                                                                       │
  810.    └───────────────────────────────────────────────────────────────────────┘
  811.  ┌───────────────────────────────────────────────────────────────────────────┐
  812.  │UPPER CASE - directories   lower case - files   q - toggle quick view mode │
  813.  │F2 - set line wrap   F3 - toggle ASCII line wrap on/off   F4 - Wordstar    │
  814.  │F5 - preview mode  F6 - convert/print   F7 - new drive   F10 - ANSI on/off │
  815.  └───────────────────────────────────────────────────────────────────────────┘
  816.  
  817. THE KEYS:
  818.  
  819. Use the arrow and cursor keys to scroll through the list of files, and
  820. press Enter to view the highlighted file or to change to the highlighted
  821. directory.
  822.  
  823. Ctrl-Home - goes to first file in the list.  (Use Home if you are at the
  824.             first screen).
  825.  
  826. Home      - goes to the firat file in the current screen.
  827.  
  828. Ctrl-End  - goes to the last file in the list.
  829.  
  830. End       - goes to the last file in the current screen.
  831.  
  832.  
  833. F1 - brings up a help menu
  834.  
  835. F2 - allows you to change the column at which lines wrap.
  836.  
  837. F3 - toggles line wrap on and off.  When toggled OFF, line wrap occurs
  838.      according to the file's setting and ignores VIEW's setting.  In
  839.      this mode, lines in ASCII and Wordstar files may wrap within words.
  840.      When toggled ON VIEW prevents (as far as possible) breaks
  841.      appearing within words.  You can use this feature to reformat ASCII
  842.      files; for example, to change the width of lines.
  843.      NOTE: line wrap toggle is only used for ASCII or pseudo-ASCII
  844.      (e.g.  Wordstar) files.  It has no effect on WordPerfect, Word
  845.      etc. files.
  846.  
  847. F4 - tells VIEW to treat the file as Wordstar.
  848.  
  849. F5 - tells VIEW to treat the file as "unknown format".  High-order
  850.      characters are stripped out and error trapping routines are initiated
  851.      during the file read (e.g. missing end-of-file)
  852.  
  853. F6 - allows you to convert a file to ASCII or print it directly without
  854.      viewing it, including via 2COL/JETCOL.  You can interrupt this process
  855.      by pressing the Esc key.
  856.  
  857. Shift F6 - allows you to reset HP and HP-compatible printer mode for those
  858.            printers that recognize the PCL4 command set.
  859.  
  860. F7 - allows you to change to another drive.  A list of available drives is
  861.      displayed.  Just type in the drive letter you want and press "Return".
  862.      Note: this function default the file listing parameter to *.*, i.e.
  863.      it results in all files on the drive and directory shown being listed.
  864.  
  865. F10- the next file to be viewed will have its character set converted from
  866.      assumed ANSI (e.g.  Windows NOTEPAD) to ASCII.  F10 is a toggle -
  867.      press it a second time and this feature is switched off.
  868.  
  869. s - toggles the speaker "beep" on/off (beeps when an illegal key press is
  870.     made).
  871.  
  872. q -  toggles quick view mode on/off.  When on, a Q appears above and to the
  873.      right of the file list. (Also Alt-F8)
  874.  
  875. z  - tells you how many display lines are available and how many 2000 byte
  876.      memory blocks you have set aside.
  877.  
  878. Esc- exit to DOS
  879.  
  880.  
  881.  
  882.  
  883. CUSTOMIZING VIEW  ▌
  884. ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  885.  
  886.  
  887. VIEWCFG
  888.  
  889. usage:  viewcfg [filename]
  890.  
  891.         where filename is view.exe or an exact copy with some other file
  892.         name.  If the wrong version of VIEW is found, VIEWCFG will
  893.         tell you so.
  894.  
  895. This program allows you to customize VIEW.EXE.
  896.  
  897. Setting colors is self-explanatory.  However, VIEWCFG also allows you to set
  898. some print parameters, such as number of lines per printed page, number of
  899. spaces to expand tabs, and number of spaces to leave for the left margin.
  900.  
  901. After setting colors, VIEWCFG allows you to override the default number of
  902. lines of display and display speeds.  VIEW as shipped is configured
  903. for normal display speed and hard coded to display 25 lines by 80 columns.
  904. Try experimenting with the display parameters to get maximum benefit; if
  905. your system crashes - and there's a lot of non-standard hardware and BIOS
  906. software out there - just reconfigure VIEW to a lower display standard.
  907.  
  908. Next, you to choose whether the "delete file?" feature of VIEW is
  909. activated.  As a safety measure, you may wish to set this to "off".  Even
  910. with the feature on, a file will not be deleted until you have
  911. answered an "are you sure?" question.  Protected (read-only) files cannot
  912. be deleted directly from VIEW.
  913.  
  914. You can also configure some display and print parameters - the number of
  915. lines per printed page, the default printer port, and the offset from the
  916. left margin or printed output.
  917.  
  918. VIEWCFG allows you to set the column at which lines wrap.  The default is
  919. 66 - that is, VIEW counts characters per line and if it is within 14 of
  920. the rightmost screen column puts in a line feed if it finds a space.  This
  921. is not absolutely foolproof; you may find that setting the line wrap column
  922. to less than 66 gives better performance.  (NOTE: you can temporarily
  923. over-ride the default setting from the file selection menu).
  924.  
  925. Next, VIEWCFG allows you to change the default number of files that can
  926. be read in sequence from the file selection menu. Each time you read a file
  927. a small amount of memory is lost to the system (until you exit to DOS, when
  928. it is fully restored). To prevent memory allocation errors VIEW exits to
  929. DOS after a certain number of files have been read. The default is 50. If you
  930. wish to experiment with a higher number, you can do so via VIEWCFG. Don't
  931. go above 100. If you find that your setting does cause a system freeze,
  932. just reduce the number. There is no "best" value - it depends on the amount
  933. of free RAM on your system, the nature and operations of any TSRs or memory
  934. managers you have running, etc.  You should have no problems going with the
  935. default of 50.
  936.  
  937. Next, VIEWCFG allows you to reserve some memory for use by 2COL
  938. or JETCOL.  When it loads, VIEW uses all available conventional memory
  939. for displaying files, in 80 column lines.  You must set aside memory for
  940. 2COL or JETCOL, in 2000 byte blocks, equivalent to 25 lines of file.
  941. There is a trade-off - the more memory you set aside for
  942. 2COL/JETCOL, the fewer the lines before getting a "file too big" message.
  943. Currently, 2COL and JETCOL require you to reserve about 50 blocks;
  944. if you don't want direct access to them you can reduce this.  However,
  945. VIEW itself needs some memory in reserve.  When asked to enter a
  946. number of 2000 byte blocks, you should enter at least 10, and
  947. probably 13 or 14, and at least 48 for access to 2COL and JETCOL.
  948. You may need to experiment a little to find the minimum number of
  949. memory blocks you need to allocate, as this will depend to some
  950. extent on how much conventional memory your computer has available.
  951. PLEASE READ THE ACCOMPANYING FILE "TROUBLE.DOC" FOR MORE INFORMATION
  952. ON THIS TOPIC.
  953.  
  954.  
  955. Finally, you can specify the default number of files, in 100s, that can be
  956. displayed in the file list.  The maximum is 700 (for which you would enter
  957. 7 i.e. 7 x 100). Registered users can request a higher number.
  958.  
  959. SUGGESTION: Configure two versions of VIEW, one with and one without
  960. 2COL/JETCOL access.
  961.  
  962.  
  963. HTML FILES ▌
  964. ▄▄▄▄▄▄▄▄▄▄▄▌
  965.  
  966. VIEW displays HTML files that have been prepared to the HTML 2.0 standard.
  967. It will display, but not properly format, tables.  It can also be used as a
  968. basic syntax checker.  It will write information on any missing > or ; tags
  969. it comes across to a file c:\htmlerr.rpt.  It fills in missing tags, but
  970. this means that some ext may be missing.
  971.  
  972. VIEW will automatically decode HTML files PROVIDED the first character in
  973. them is <.  Otherwise, it assumes they are ASCII.  You can force it to
  974. display the tags in HTML files by using the /h command line switch or
  975. pressing Shift-F3 at the file selection menu.
  976.  
  977. Malcolm Drury
  978. May 5th 1996
  979.  
  980.  
  981.  
  982.  
  983. **************************************************************************
  984.  
  985. MORE SHAREWARE
  986. ==============
  987.  
  988.             Look for the following shareware on Compuserve/Ziffnet or your
  989.             favorite BBS.  I post it as ZIP files, but it may also appear
  990.             as ARJ (or other format) files if re-posted by others.
  991.  
  992. VGAPAL40.ZIP - customize up to 4 VGA text color palettes, choosing from more
  993.                than 250,000 colors! (And see how many you can actually
  994.                discern!).  One palette can be used to create a small (2k) TSR
  995.                program that maintains your chosen scheme.  Alternatively, you
  996.                can set any of the palettes, or a grey-scale scheme, from a
  997.                non-TSR if memory is a problem.  (On CIS Ziffnet as vgacus.zip
  998.                in ZNT:TIPS). BBS SEARCH: VGAPAL??.*
  999.  
  1000. DDIR111.ZIP - double-column directory display that highlights new files,
  1001.               flags system, hidden and read-only files, and optionally shows
  1002.               the "dead" space on disk associated with each file or the total
  1003.               space each file actually uses. Full file list sorting, and
  1004.               can scroll back and forth within the file list. Has file
  1005.               delete and protect/unprotect functions.  Links to VIEW,
  1006.               LIST and VPIC.  Also archive/unarchive files via links to
  1007.               PKZIP/PKUNZIP, ARJ, LHA, SQZ and ZOO.  Will also
  1008.               automatically decode UUENCODED files. (On Compuserve Ziffnet
  1009.               as dirdpy.zip in forum ZNT:TIPS) BBS search: DDIR??.*
  1010.  
  1011. DSPAC65A.ZIP - shows graphically hard disk space installed, used and free,
  1012.                for all drives; second program shows graphically space on
  1013.                designated drive (including floppy), and reports on installed
  1014.                and available RAM, including XMS and EMS memory. (On CIS
  1015.                Ziffnet as dskspc.zip, in ZNT:TIPS).
  1016.                BBS SEARCH: DSPACE??.*
  1017.  
  1018. IF YOU DO NOT FIND ANY OF THESE, SEND ME A MESSAGE! USERS WHO REGISTER
  1019. VIEW WILL RECEIVE THESE (OR THE LATEST VERSIONS).
  1020.  
  1021. You can also search your favorite BBS for 2COL and JETCOL.  Use the search
  1022. terms 2COL????.* and JETCOL??.*
  1023.  
  1024. Compuserve 70574,3457
  1025. INTERNET mdrury@nrcan.gc.ca or 70574.3457@compuserve.com
  1026. http://www.emr.ca/~mdrury/shware.html
  1027.  
  1028. Malcolm Drury
  1029. 11 Adele Crescent
  1030. Nepean    ON   K2J 2T7
  1031. CANADA
  1032.  
  1033. Tel. +1 613 825-1683 after 6 p.m. Eastern Time
  1034.  
  1035. ==============================================================================
  1036.  
  1037.   This document was prepared using the BOXER (TM) text editor version 7.0
  1038.